#ifndef _FONT_H
#define _FONT_H
#include "POLYGON.H"

typedef struct{
	Polygon* fonts;
	int map[128];
	int charCount;
	Polygon defaultSymbol;
} Fonts;

boolean loadFonts(const char* fileName, Fonts* fonts);
void freeFonts(Fonts* fonts);
void drawFont(Fonts polygon, char ch,  int posX, int posY, byte color);
void drawClippedScreenFont(Fonts polygon, char ch, int posX, int posY, byte color, Region clipPlane);
void drawClippedFont(Fonts polygon, char ch, int posX, int posY, byte color, Region clipPlane, Region viewPort);
#endif
